/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.aacorps.javaeal.repository.user;

import edu.aacorps.javaeal.common.UserDTO;
import edu.aacorps.javaeal.domain.User;
import edu.aacorps.javaeal.repository.BaseRepository;
import javax.ejb.Local;

/**
 *
 * @author Ati
 */
@Local
public interface UserRepository extends BaseRepository<User, Long> {

    User find(String userName);

    User toUserEntity(UserDTO userDTO);

    UserDTO toUserDTO(User user);

}
